package io.homework;

import java.io.FileInputStream;

public class Test2 {
    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream("test.txt");

        int read = fis.read();
        System.out.println(read);
        read = fis.read();
        System.out.println(read);
        read =fis.read();
        System.out.println(read);
        System.out.println("操作完成");
        fis.close();
    }
}
